package com.link.base.base.redpacketconfig.controller;

import javax.annotation.Resource;

import com.link.base.base.redpacketconfig.model.RedPktDrawCfg;
import com.link.base.base.redpacketconfig.service.RedPktDrawCfgService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;

/**
 * @author: 闫有霞
 * @date: 2019-01-23
 * @comments:  红包领取设置
 */
@Controller
@RequestMapping("/link/redPktDrawCfg")
public class RedPktDrawCfgController extends BasicController<RedPktDrawCfg> {
 
    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private RedPktDrawCfgService redPktDrawCfgService;

    @Override
    public BasicService<RedPktDrawCfg> getBasicService() throws Exception {
        return redPktDrawCfgService;
    }
}
